import urllib as ul
import urllib2
import pamie as p

post_url = "http://10.1.64.21/SoftPlat/Common/GetFileStream.asp?Mode=0&FileUrl=E:\SoftPlat\QM\2\17210\4465416\&FileName=17210.rar"
data = {'email':self.username, 'password':self.password}
ckjar = cookielib.CookieJar()
req = urllib2.Request(post_url)
data = urllib.urlencode(data)
opener=urllib2.build_opener(urllib2.HTTPCookieProcessor(ckjar))
try:
    response = opener.open(req, data)
    content = response.read()
except Exception,e:
    print e
    return
try_times = 0
